package com.cskaoyan.mapper.marketMapper;

import com.cskaoyan.bean.marketBean.MarketCoupon;
import com.cskaoyan.bean.marketBean.MarketCouponUser;
import com.cskaoyan.bean.vo.*;

import java.util.List;

public interface CouponMapper_yjc {

    List<WXYJConponListVO> queryMyCoupons();


    List<WXYJConponAllListVO> queryAllCoupons();

    List<WXYJConponListVO> selectCoupon();

    MarketCoupon selectMarketCouponByCouponId(MarketCoupon coupon);
    //wo
    MarketCoupon selectMarketCouponByCode(MarketCoupon coupon);

    List<MarketCouponUser> selectMarketCouponUserByUserIdCouponId(MarketCouponUser marketCouponUser);


    int insertCouponUser(MarketCouponUser marketCouponUser);

    int selectmy(MarketCoupon coupon);
}
